package com.attendance.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by inuyasha on 2016/12/14.
 */

@Controller
@RequestMapping("")
public class LoginController {

    @RequestMapping("/login")
    public String login() {
        return "/html/login.html";
    }

    @RequestMapping("/")
    public String index() {
        return "/html/index.html";
    }
}
